<?php
	 /*  error_reporting(E_ALL);
          ini_set("display_errors", 1); */
		  
/* #############################################################################################
   @Modulo Phone Payment 
   # Autor: Walter Hernandez 
   # e-mail: info@goldenfoxi.com 
   # web : wwww.goldenfoxi.com 
   ##################### copyright www.goldenfoxi.com - 2012 - ################################## */ 
   
class PhonePaymentPaymentModuleFrontController extends ModuleFrontController
{
	
	public $ssl = true;
	
  public function initContent()
	
	{
		$this->display_column_left = false;
		
		//$this->display_column_right = false;
		
		parent::initContent();
		
	$cart = $this->context->cart;
	
		if (!$this->module->checkCurrency($cart)) Tools::redirect('index.php?controller=order');
		$this->context->smarty->assign(array(
			'nbProducts' => $cart->nbProducts(),
			'cust_currency' => $cart->id_currency,
			'currencies' => $this->module->getCurrency((int)($cart->id_currency)),
			'total' => $cart->getOrderTotal(true, Cart::BOTH),
			'this_path' => $this->module->getPathUri(),
			'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->module->name.'/'));
		$this->setTemplate('payment_execution.tpl');
	}
}
?>